package cn.school.workflow.vo;

import cn.school.common.BaseVO;
import cn.school.common.utils.SysUserUtils;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 计划执行人VO
 */
@Data
@TableName("t_work_plan_person")
public class WorkPlanPersonVO extends BaseVO {
    private static final long serialVersionUID = 4494465655678762874L;

    @ApiModelProperty(value = "计划ID")
    private Long planId;

    @ApiModelProperty(value = "计划执行人")
    private String userName;

    @ApiModelProperty(value = "评定结果")
    private String evaluateResult;

    @ApiModelProperty(value = "完成比率")
    private String doneRatio;

    @TableField(exist = false)
    @ApiModelProperty(value = "计划名称")
    private String planName;

    @TableField(exist = false)
    @ApiModelProperty(value = "计划部门")
    private String planDept;

    @TableField(exist = false)
    @ApiModelProperty(value = "计划开始时间")
    private String planBeginTime;

    @TableField(exist = false)
    @ApiModelProperty(value = "计划结束时间")
    private String planEndTime;

    @TableField(exist = false)
    @ApiModelProperty(value = "计划类型")
    private String planType;

    @TableField(exist = false)
    @ApiModelProperty(value = "计划评定标准")
    private String planEvaluate;

    @TableField(exist = false)
    private Integer pageNum;

    @TableField(exist = false)
    private Integer pageSize;
    /**
     * 默认租户为当前登录人的租户
     */
    private String tenantId = SysUserUtils.getSysUser().getTenantId();
}
